#内核源码的路径, 将KERNELDIR变量追加到 ~/.bashrc 文件了，所以注释掉了下面一行
#KERNELDIR := /home/dengxm2024/linuxProgDir/linuxkerneldir/linux-2.6.35.3
EXEC := *.ko

obj-m:=lradc.o
PWD:=$(shell pwd)
KDIR:=$(KERNELDIR)
all:
	$(MAKE) -C $(KDIR) M=$(PWD) 
install:
	cp $(EXEC) $(IMX28_exe_DIR)
clean:
	rm -rf *.ko *.order *.symvers *.cmd *.o *.mod.c *.tmp_versions .*.cmd .tmp_versions
